import type { ApiResponseList, Student } from "@typings";
import request from "@/api/request";

export function getNewsList(): Promise<ApiResponseList<Student[]>> {
  return request<ApiResponseList<Student[]>>({
    url: "http://localhost:3000/students",
    method: "get",
  });
}
